import request from '@/utils/request'

let myurl = '/system/register';
// 查询检查费列表
export function listRegister(query) {
  return request({
    url: myurl + '/list',
    method: 'get',
    params: query
  })
}
// 新增部门
export function addRegister(data) {
  return request({
    url: myurl,
    method: 'post',
    data: data
  })
}

// 修改部门
export function updateRegister(data) {
  return request({
    url: myurl,
    method: 'put',
    data: data
  })
}

// 删除部门
export function delRegister(registerId) {
  return request({
    url: myurl + '/' + registerId,
    method: 'delete'
  })
}

// 查询费用详细
export function getRegister(registerId) {
  return request({
    url: myurl + '/' + registerId,
    method: 'get'
  })
}

